package com.shanzmoo.db.store.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 仓库收货上架信息
 * </p>
 *
 * @author Gzhao
 * @since 2021-03-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("store_receive_putaway")
public class StoreReceivePutawayEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 自增ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 状态：0-待上架,1-已上架,9-已取消
     */
    private Integer status;

    /**
     * 商品sku
     */
    private String sku;

    /**
     * 入库类型
     */
    private Integer type;

    /**
     * 入库仓库编码
     */
    private String storeCode;

    /**
     * sku数量
     */
    private Integer skuNum;

    /**
     * 收货单id
     */
    private Integer receiveBillId;

    /**
     * 上架批人
     */
    private Integer putawayUser;

    /**
     * 上架时间
     */
    private LocalDateTime putawayTime;

    /**
     * 取消理由
     */
    private String cancelReason;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;

    /**
     * 逻辑删除，0-未删除 1-已删除
     */
    private Boolean deleted;


}
